package com.hzhc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzhc.entity.ProductName;
import com.hzhc.utils.ResultUtil;
import com.hzhc.vo.ProductNameVo;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * <p>
 * 铁路品名表 服务类
 * </p>
 *
 * @author shizj
 * @since 2024-08-30
 */
public interface ProductNameService extends IService<ProductName> {
    List<ProductNameVo> getList(Page<ProductNameVo> page, ProductNameVo vo);


    ResultUtil<T> addRet(ProductName productName);

    ResultUtil<T> updateRet(ProductName productName);

    ResultUtil<T> deleteRet(ProductName productName);

    ProductName checkTradeName(String field, String tradeName, Long id);
}
